package com.ymk.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ymk.base.BaseVO;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户拉新表
 * </p>
 *
 * @author 莫参商
 * @since 2023-08-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("user_refresh")
public class UserRefresh extends BaseVO {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 新用户id
     */
    @TableField("new_user_id")
    private String newUserId;

    /**
     * 老用户id
     */
    @TableField("old_user_id")
    private String oldUserId;


}
